package com.shigen.demo.entity.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import lombok.Data;
import lombok.experimental.Accessors;

public class UserReq {

  @Data
  @Accessors(chain = true)
  @ApiModel(value = "登录")
  public static class Login {

    @ApiModelProperty(value = "登录的账号")
    @NotNull(message = "请输入账号")
    private Integer id;

    @ApiModelProperty(value = "登录密码")
    @NotEmpty(message = "请输入密码")
    private String password;

    @ApiModelProperty(value = "设备码")
    private String murmur;
  }
}
